package com.zjs.express.dao;

import com.zjs.express.bean.Admin;

import java.util.Date;

public interface AdminDao {
    /**
     * 更新登录时间和ip
     *
     * @param id
     * @param loginTime
     * @return
     */
    public boolean updateLoginTimeById(String id, Date loginTime, String ip);

    public Admin listByUsername(String username);
}
